<%@ page import="com.nebula.common.Const" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title><%=Const.SYSTEM_NAME%>-重置密码</title>
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/images/favicon.ico">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/Base.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/login.css">
    <!--[if lt IE 9]>
    <script src="/assets/html5shiv/html5shiv.min.js"></script>
    <script src="/assets/respond/respond.js"></script>
    <![endif]-->
    <style>
        .error-info {
            color: red;
            font-size: 14px;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-xs-offset-4 col-xs-6 clearfix">
            <form action="${pageContext.request.contextPath}/forgot" role="form" class="form-signin" method="post"
                  id="form">
                <input type="hidden" name="method" value="resetPwd">
                <input type="hidden" name="userId" value="${requestScope.user.id}">
                <h2 class="form-signin-heading text-center">重置密码</h2>
                <input type="password" class="form-control mt-5" placeholder="新密码" autofocus
                       autocomplete="off" id="pwd" name="pwd" >
                <input type="password" class="form-control mt-5" placeholder="确认新密码" autofocus
                       autocomplete="off" id="rePwd" name="rePwd" >
                <button type="submit" class="btn btn-primary btn-block mt-15" id="btOk">确定</button>
                <div id="form-footer clearfix" class="mt-5">
                    <span class="error-info pull-left" id="errMsg">${requestScope.errMsg}</span>
                </div>
            </form>
        </div>
    </div>
</div>
<script src="${pageContext.request.contextPath}/js/jquery-1.12.4.min.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/assets/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>
